package cn.zjutleo.village_server.entity.EchartsData;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: 张坤
 * @DateTime: 2021/9/9 13:51
 * @Description: 该类用于 实现大数据展示----报修和派单数据
 */
@Data
public class OrderDataOption {
    /**
    * @Author: 张坤
    * @Description: 数据举例如下
     * source: [
     *             ['product', '2015', '2016'],
     *             ['Matcha Latte', 43.3, 85.8],
     *             ['Milk Tea', 83.1, 73.4],
     *             ['Cheese Cocoa', 86.4, 65.2],
     *             ['Walnut Brownie', 72.4, 53.9]
     *           ]
     * 这里主要将source的单个字段拆开,
     * 即['Matcha Latte', 43.3, 85.8]等
     * 拆成'Matcha Latte', 43.3,'Matcha Latte', 85.8
    */
    String typeName;
    int count;
}
